<template>
  <div class="wrapper">
    <div class="content-top">
      <div class="top-title">共有文件管理</div>
      <div class="top-btn">
        <el-upload
          class="upload-demo"
          action="https://jsonplaceholder.typicode.com/posts/"
          multiple
          :limit="3"
        >
          <el-button size="small" type="primary">点击上传</el-button>
        </el-upload>
      </div>
    </div>
    <div class="content-table">
      <public-table />
    </div>
  </div>

</template>

<script>
import PublicTable from './childComponent/PublicTable'
export default {
  name: 'PublicKnowledge',
  components: {
    PublicTable
  }
}
</script>

<style scoped lang="scss">
.wrapper{
  padding: 20px;
  .content-top{
    display: flex;
    align-items: center;
    .top-title{
      font-size: 20px;
    }
    .top-btn{
      margin-left: 20px;
    }

  }
  .content-table{
    margin-top: 20px;
  }
}
</style>
